import request from '@/utils/request'

// 查询学生任务提交情况列表
export function listStage_task_submit(query) {
  return request({
    url: '/teaching/stage_task_submit/list',
    method: 'get',
    params: query
  })
}

// 查询学生任务提交情况详细
export function getStage_task_submit(taskId) {
  return request({
    url: '/teaching/stage_task_submit/' + taskId,
    method: 'get'
  })
}

// 新增学生任务提交情况
export function addStage_task_submit(data) {
  return request({
    url: '/teaching/stage_task_submit',
    method: 'post',
    data: data
  })
}

// 修改学生任务提交情况
export function updateStage_task_submit(data) {
  return request({
    url: '/teaching/stage_task_submit',
    method: 'put',
    data: data
  })
}

// 删除学生任务提交情况
export function delStage_task_submit(taskId) {
  return request({
    url: '/teaching/stage_task_submit/' + taskId,
    method: 'delete'
  })
}
